import request from '../utils/request'
// 所有关于学员模块的接口

// 添加学员接口
export const addStuApi=(data)=>{
  return request("/VueHandler/AdminHandler?action=adduser","post",data)
}

// 获取学员列表和查询
export const getStuApi=(data)=>{
  return request("/VueHandler/AdminHandler?action=usershow","post",data)
}
// 冻结解冻的接口方法 
export const FrezeStu=(tokenId)=>{
  return request("/VueHandler/AdminHandler?action=lockuser","get",{tokenId:tokenId})
}